package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/15
 * Time: 15:17
 * Description:
 */
@Data
@TableName("r_sys_role_menu")
@ApiModel(value = "RSysRoleMenuEntity", description = "数据库-角色—菜单关联表")
public class RSysRoleMenuEntity extends AbstractPageEntity {
    @TableId("role_menu_id")
    @ApiModelProperty(value = "主键", dataType = "String", notes = "主键")
    private String roleMenuId;

    @TableField("role_id")
    @ApiModelProperty(value = "角色id", dataType = "String", notes = "角色id")
    private String roleId;

    @TableField("menu_id")
    @ApiModelProperty(value = "菜单id", dataType = "String", notes = "菜单id")
    private String menuId;
}
